package com.anjubao.parking.municipal.roadside.form;

import cn.hutool.json.JSONArray;
import com.alibaba.fastjson.JSONObject;
import lombok.Data;

/**
 * 报警数据上报
 * @author zhangyunbo
 * @date 2019/6/13 15:16
 */
@Data
public class AlarmReportForm {
    /*{
        "cmd":"alarmreport"，
        "alarmtype":00,
        "devid":"123456789001",
        "devtype":"xxx",
        "id":"123456789012",
        "sn": "xxxx",
        "timeStamp":{
         "sec":1426625222，
         "usec":622802
        }，
        "imageFile":"xxx",
        "imageFileLen":xxx
      }*/
    private String cmd;
    private int alarmtype;
    private String devid;//设备id
    private String devtype;//设备类型
    private String id;//泊位id
    private String sn;//设备sn号
    private JSONObject timeStamp;
    private String imageFile;
    private String imageFileLen;

}
